package com.binfenhulian.chinaenergy.ces.core.bean.result;

import lombok.Data;

/**
 * Created by wanghjbuf on 2018/3/8.
 */
@Data
public class AjaxResult {
    private int code = 0;
    private String message = "";
    private boolean status = true;
    private Object data;

    public AjaxResult(){

    }

    public AjaxResult(int code, String message, boolean status, Object data) {
        this.code = code;
        this.message = message;
        this.status = status;
        this.data = data;
    }
}
